package com.indusfo.spc.service;

import com.indusfo.spc.pojo.Pro;
import com.indusfo.spc.vo.JSONObject;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ProService {

    JSONObject updatePro(Pro pro, Integer[] staIds, HttpServletRequest request);

    JSONObject insertPro(Pro pro, Integer[] staIds, HttpServletRequest request);

    JSONObject queryPro(Pro pro);

    JSONObject deletePro(Long[] lProIds, Integer lDataState);

    JSONObject queryProIds(Pro pro, Long[] proIds);

    JSONObject checkStation(Long[] lProIds);
    /**
     * @author: louk
     * @Description:Excel导入检查每个字段
     * @date: 2019/11/4 9:56
     *
     */

    String checkNoRepeat(Pro  pro);
    JSONObject updateListPro(List<Pro> proList);
}
